package org.lyd.spring.ioc.config;

import org.lyd.spring.ioc.bean.Byd;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author:lyd
 **/
@Configuration
public class BydConfig {

    @Bean
    public Byd byd() {
        Byd byd = new Byd();
        byd.setName("byd");
        return byd;
    }
}
